import {formatDate} from "./src/utils/formatDate"


console.log(formatDate(new Date()));


function getData(n){
    return n.toLocaleDateString().replace(/\//g, "-") + " " + n.toTimeString().substr(0, 8)
}
var date = new Date();
getData(date)
